package com.wjq.util;


import com.wjq.entity.Question;

import java.util.Collections;
import java.util.LinkedList;
import java.util.List;

public class sortQuestionUtils {
    public static List<Question> sortQuestion(List<Question> choiceQuestion, List<Question> essayQuestion){
        List<Question> allQuestion = new LinkedList<>();
        allQuestion.addAll(choiceQuestion);
        allQuestion.addAll(essayQuestion);
        Collections.sort(allQuestion);
        return allQuestion;
    }
}
